import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

//使用element-ui
import ElementUI from 'element-ui'
import "element-ui/lib/theme-chalk/index.css"
Vue.use(ElementUI)

//配置axios
import axios from 'axios'
//配置请求路径
axios.defaults.baseURL = 'http://127.0.0.1:8888/api/private/v1/'
Vue.prototype.$http = axios


//导入全局样式表
import './assets/css/global.css'
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
